package com.scilvet.reportcomposer.report;

public abstract class Line {
	
	protected Integer lineNumber;
	
	public Line(Integer lineNumber) {
		
		if (lineNumber < 0) {
			throw new IllegalArgumentException("Rule line number must be greater than zero");
		}
		
		this.lineNumber = lineNumber;
	}

	public abstract String[] lineArray();
	
	public abstract String printValues();
	
	public Integer getLineNumber() {
		return lineNumber;
	}
}
